import 'package:plugin_platform_interface/plugin_platform_interface.dart';

import 'wallpaper_client_plugin_method_channel.dart';

abstract class WallpaperClientPluginPlatform extends PlatformInterface {
  /// Constructs a WallpaperClientPluginPlatform.
  WallpaperClientPluginPlatform() : super(token: _token);

  static final Object _token = Object();

  static WallpaperClientPluginPlatform _instance = MethodChannelWallpaperClientPlugin();

  /// The default instance of [WallpaperClientPluginPlatform] to use.
  ///
  /// Defaults to [MethodChannelWallpaperClientPlugin].
  static WallpaperClientPluginPlatform get instance => _instance;

  /// Platform-specific implementations should set this with their own
  /// platform-specific class that extends [WallpaperClientPluginPlatform] when
  /// they register themselves.
  static set instance(WallpaperClientPluginPlatform instance) {
    PlatformInterface.verifyToken(instance, _token);
    _instance = instance;
  }

  Future<String?> getPlatformVersion() {
    throw UnimplementedError('platformVersion() has not been implemented.');
  }

  Future<bool?> sensorsAvailable() {
    throw UnimplementedError('sensorsAvailable() has not been implemented.');
  }


  void downloadWallpaper(Map catelogItem) {
    throw UnimplementedError('downloadWallpaper() has not been implemented.');
  }


  void setWallpaper(Map catelogItem) {
    throw UnimplementedError('setWallpaper() has not been implemented.');
  }

}
